package com.commution.hit.service.impl;

import com.commution.hit.dao.BlogDAO;
import com.commution.hit.domain.basic.Blog;
import com.commution.hit.service.BlogService;

public class BlogServiceImpl implements BlogService {
	
	private BlogDAO blogDAO;
	
	@Override
	public void saveBlog(Blog blog) {
		blogDAO.saveBlog(blog);

	}
	
	@Override
	public Blog getBlog(){
		Blog b= blogDAO.getBlog();
		return b;
	}

	public BlogDAO getBlogDAO() {
		return blogDAO;
	}

	public void setBlogDAO(BlogDAO blogDAO) {
		this.blogDAO = blogDAO;
	}
	
	

}
